package org.dandsoft.blackbox.snn;

/**
 * Created by IntelliJ IDEA.
* User: dvilyuzhanin
* Date: 28.03.2009 16:17:05
*/
public class Signal {
    private ObjectId signalId;
    private Value value;
    private boolean isAnomaly;
    private boolean isUsed;
    private Time time;

    public Signal() {
    }

    public Signal(ObjectId signalId, Value value) {
        this.signalId = signalId;
        this.value = value;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public ObjectId getSignalId() {
        return signalId;
    }

    public void setSignalId(ObjectId signalId) {
        this.signalId = signalId;
    }

    public Value getValue() {
        return value;
    }

    public void setValue(Value value) {
        this.value = value;
    }

    public boolean isAnomaly() {
        return isAnomaly;
    }

    public void setAnomaly(boolean anomaly) {
        isAnomaly = anomaly;
    }

    public boolean isUsed() {
        return isUsed;
    }

    public void setUsed(boolean used) {
        isUsed = used;
    }
}
